{
 "cells": [
  {
   "cell_type": "raw",
   "id": "5903fc0b",
   "metadata": {},
   "source": [
    "练习1\n",
    "使用numpy创建一个ndarray对象，输出它的维度、形状、元素数量以及数据类型"
   ]
  },
  {
   "cell_type": "raw",
   "id": "f9a21f3a",
   "metadata": {},
   "source": [
    "练习2\n",
    "创建一个10*10的ndarray对象，且矩阵边界全为1，里面全为0"
   ]
  },
  {
   "cell_type": "raw",
   "id": "342f2e5b",
   "metadata": {},
   "source": [
    "练习3\n",
    "找出一个3*3数组中所有大于3的元素和所有的偶数元素"
   ]
  },
  {
   "cell_type": "raw",
   "id": "addbb906",
   "metadata": {},
   "source": [
    "练习4\n",
    "获取4*3数组中四个角的元素"
   ]
  },
  {
   "cell_type": "raw",
   "id": "3bf0c3aa",
   "metadata": {},
   "source": [
    "练习5\n",
    "对一个一维数组，按照元素值从大到小的顺序重构原数组并输出"
   ]
  },
  {
   "cell_type": "raw",
   "id": "33f3e950",
   "metadata": {},
   "source": [
    "练习6\n",
    "按照第3列元素从小到大的顺序对一个5*5的矩阵进行排序"
   ]
  },
  {
   "cell_type": "raw",
   "id": "c1a8ab13",
   "metadata": {},
   "source": [
    "练习7\n",
    "正则化一个5*5随机矩阵\n",
    "【正则的概念：假设a是矩阵中的一个元素，max/min分别是矩阵元素的最大最小值，则正则化后a = (a - min)/(max - min)】"
   ]
  },
  {
   "cell_type": "raw",
   "id": "51975731",
   "metadata": {},
   "source": [
    "练习8\n",
    "生成5*5随机矩阵A和B，计算A+A，A*A.T，A.T*A，AB（A.T表示矩阵A的转置）\n",
    "写一个函数，计算任意λ的A(B−λi)"
   ]
  },
  {
   "cell_type": "raw",
   "id": "843a55f4",
   "metadata": {},
   "source": [
    "练习9\n",
    "使用numpy求解下面的线性方程组：\n",
    "𝑥+𝑦+𝑧=6\n",
    "2𝑦+5𝑧=−4\n",
    "2𝑥+5𝑦−𝑧=27"
   ]
  },
  {
   "cell_type": "raw",
   "id": "33f08eb9",
   "metadata": {},
   "source": [
    "练习10\n",
    "输出9*9乘法口诀表"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
